PowerTCP Telnet for .NET CF
Write(Byte[],Int32,Int32) Method
See Also  Send comments on this topic.
Dart.Common Namespace > TcpBase Class > Write Method : Write(Byte[],Int32,Int32) Method




buffer
Byte array of data to send.
offset
The position in the data buffer at which to begin sending data.
count
The number of bytes to send.
Sends data to the remote host.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Write( _
   ByVal buffer() As Byte, _
   ByVal offset As Integer, _
   ByVal count As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As TcpBase
Dim buffer() As Byte
Dim offset As Integer
Dim count As Integer
 
instance.Write(buffer, offset, count)
C# 
public void Write( 
   byte[] buffer,
   int offset,
   int count
)
Managed Extensions for C++ 
public: void Write( 
   byte[]* buffer,
   int offset,
   int count
) 
C++/CLI 
public:
void Write( 
   array<byte>^ buffer,
   int offset,
   int count
) 

Parameters

buffer
Byte array of data to send.
offset
The position in the data buffer at which to begin sending data.
count
The number of bytes to send.

Remarks

This method synchronously sends data to the remote host over an existing connection. It will block until a buffer is available to accept the data or the SendTimeout value has expired.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.